$red:#d80a2c;
body{
    background-color: #e9e6e9;
    position: relative;
    min-height: 1000px;
}
header{
    height: 36px;
    width: 100%;
    
    color: #999999;
    background-color: #000000;
    font-size: 12px;
    .center{
        width: 1200px;
        margin: auto;
        background-color: #000000;
        height: 100%;   
        ul{
          
            display: flex;
            height: 36px;
            float: left;
          
            li{
                margin-top: 10px;
                padding: 0 8px;
                height: 12px;
                line-height: 12px;
                border-right: 1px solid #414141;

                &:hover{
                    color: white;
                }
                &:last-child{
                    border-right: none;
                }
            }
          
        }
        .headerTow{
            margin-left: 200px;
            .exit{
                cursor: pointer;
            }
        }

        .headerToCart{
            float: left;
            width: 95px;
            height: 100%;
            background-color: #424242;
            color: #999999;
            text-align: center;
            line-height: 30px;

            &:hover{
                background-color: white;
                color: #cf0a2c;
            }
            .icon-gouwuche2{
                margin-right: 8px;
                font-size: 20px;
            }
        }
    }
  
}
.center{
    width: 1200px;
    margin: auto
}
nav{
    height: 74px;
    line-height: 74px;
background-color: #fff;
    img{
        width: 103px;
        float: left;
    }
    .navP{
        margin-left: 30px;
        float: left;
     
        a{
            display: inline-block;
            margin-left: 40px;
            font-size: 16px;
            color: black;
            &:hover{
                color: $red;
            }
        }

    }

    .sear{
        float: right;
        height: 40px;
        width: 200px;
        border-radius: 40px;
        margin-top: 20px;
        line-height: 40px;
        background-color: #fff;
        border: 1px solid #315c99;
        input{
            border-radius: 15px;
            border: none;
            height: 35px;
            width: 160px;
            outline: none;
            text-indent: 15px;
            margin-left: 5px;
        }
       .svg{
           float: right;
        .icon-fangdajing{
            font-size: 26px;
            opacity: .5;
        }
       }
    }
}

.main{
    width: 1200px;
    background-color: #fff; 
    margin: auto;
    margin-top: 30px;
    border-radius: 20px;

    .top{
        height: 73px;
        padding: 0 18px;
        width: 100%;
        line-height: 72px;
        border-bottom: 1px solid gray;
        color: black;
        span{
            font-size: 18px;
        }
        .topright{
            width: 286px;
            float: right;
            height: 100%;
            text-align: right;
            span{
                font-size: 14px;
            }
            h4{
                display: inline-block;
                font-size: 20px;
                margin-left: 10px;  font-weight: normal;
                color: #cf0a2c;
            }
        }
    }
    table{
        width: 1200px;
        text-align: center;
        tr{
            border-bottom: 1px solid gray;  
        }
        thead{
            height: 50px;
            color: #000000;
        }
        tbody{
         
            width: 1140px;
            margin: auto;
            background-color: #f5f5f5;
            border-radius: 20px;
            tr{
                height: 100px;
                line-height: 100px;
                .username{
                    width: 750px;
                }
            }
            .plus,.minus{
                width: 20px;
                height: 25px;
                background-color: #f0f0f0;
                border: 1px solid #e5e5e5;
                outline: none;
                border: none;
                &:hover{
                    border: 1px solid #cf0a2c;
                }
            }
            .num{
                width: 60px;
                text-align: center;
                outline: none;
                border: none;
                height: 25px;
            }
            a{
                color: yellowgreen;
            }
            img{
                width: 70px;
                float: left;
                margin-left: 50px;
                margin-top: 20px;
                border-radius: 100%;
            }
            td{
                input[name='checkbox']{
                    width: 50px;
                }
                
            }
        }
    }
}
.backdetail{
    position: absolute;
    right: 100px;
    top:80px;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    color:white;
    background-color: $red;
    z-index:99;
}
.last{
    width: 1142px;
    height: 72px;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 13%;
    border-radius: 20px;
    line-height: 72px;
    padding: 0 15px;
    .all{
        float: left;
    }
    .fooright{
        width: 386px;
        float: right;
        height: 100%;
        text-align: right;
        span{
            font-size: 14px;
        }
        h4{
            display: inline-block;
            font-size: 20px;
            margin-left: 10px;  font-weight: normal;
            color: #cf0a2c;
        }
    }
}
